package com.hui.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @BelongsProject: bilibili-qingGe
 * @BelongsPackage: com.hui.entity
 * @Author: HUI
 * @CreateTime: 2021-12-02 14:32
 * @Description:
 */

@TableName("user")
@Data
public class User {
    @TableId(type = IdType.AUTO,value = "id")
    private Integer id;
    private String username;
    private String password;
    private String nickName;
    private Integer age;
    private String sex;
    private String address;
    private Integer roles;
}
